package cn.sunlelin.educationserver.service;

import cn.sunlelin.educationserver.entity.Announce;
import com.github.pagehelper.Page;

import java.util.List;
import java.util.Map;

public interface AnnounceService {
    public Boolean createAnnounce(Announce announce);
    public Map<String,Object> selectAnnounceById(Integer announceId);
    public Page<Map<String,Object>> getPageByCourseId(Integer currentPage,Integer pageSize,Integer courseId);
    public Boolean updateAnnounce(Announce announce);
    public Boolean deleteAnnounce(Integer announceId);
}
